<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>本页面用于演示外边距折叠(Collapsing margins)-多个相邻的div之间边距的计算</title>
		<link rel="stylesheet" href="css/1.css" type="text/css" />
		<style type="text/css">
			 
		</style>
	</head>
	<body>
		<div style="margin: 50px 0; background-color: green; width: 50px;">
			<div style="margin: -60px 0;">
				<div style="margin: 150px 0;">A</div>
			</div>
		</div>
		<div style="margin: -100px 0; background-color: green;width:50px">
			<div style="margin: -120px 0;">
				<div style="margin: 200px 0;">B</div>
			</div>
		</div>
	</body>
</html>
